<template>
    <div>
      <Pager @pagechange="pagerchange($event)" :current="current" :total="total"></Pager>
    </div>
  </template>
  <script>
      import Pager from '@/components/Pager';
      export default {
        data(){
          return{
            total:1000,
            current:32,
          }
        },
        components:{
          Pager,
        },
        methods:{
          pagerchange(newpager){
            this.current = newpager;
          }
        }
      }
  </script>
 